KERNEL_DIR = /lib/modules/$(shell uname -r)/build
PROJECT_DIR = $(shell pwd)

OBJ_FILES = vdriver.o

obj-m := mhda.o
mhda-objs := $(OBJ_FILES)

all:
	$(MAKE) -C $(KERNEL_DIR) M=$(PROJECT_DIR) modules
clean:
	$(MAKE) -C $(KERNEL_DIR) M=$(PROJECT_DIR) clean
